package com.dm.cloud.auth.common.request;

import com.dm.cloud.core.annotation.Query;
import com.dm.cloud.core.mode.BaseSearchDTO;
import com.dm.cloud.core.enums.QueryEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;

/**
   * @author hcx
   * @type AuthPermissionPageSearch.java
   * @desc AuthPermission
   */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description ="AuthPermission search")
public class AuthPermissionPageSearch extends BaseSearchDTO {

      /** 权限名称 **/ 
      @Schema(description = "权限名称")
      @Query(value = QueryEnum.LIKE)
      private String name;
      /** 权限标识 **/ 
      @Schema(description = "权限标识")
      @Query(value = QueryEnum.LIKE)
      private String code;
      /** 应用ID **/ 
      @Schema(description = "应用标识")
      @Query(value = QueryEnum.EQ)
      private String appCode;
      /** 权限URL **/ 
      @Schema(description = "权限URL")
      @Query(value = QueryEnum.EQ)
      private String view;
      /** 权限节点类型:0接口 1页面菜单 2功能  **/ 
      @Schema(description = "权限节点类型:0接口 1页面菜单 2功能  10目录")
      @Query(value = QueryEnum.EQ)
      private Integer nodeType;
      /** 父级权限项ID **/ 
      @Schema(description = "父级权限项ID")
      @Query(value = QueryEnum.EQ)
      private String pId;
      /** 序号 **/ 
      @Schema(description = "序号")
      @Query(value = QueryEnum.EQ)
      private Integer serial;

}
